<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<link rel="stylesheet" href="{$smarty.const.__PUBLIC__}/css/public.css" />
	<script type="text/javascript" src="{$smarty.const.__PUBLIC__}/js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="{$smarty.const.__PUBLIC__}/js/public.js"></script>
</head>

<body>
	<table class="table">
		<tr>
			<td class="th" colspan="20">分类列表</td>
		</tr>
		<tr class="tableTop">
			<td class="tdLittle0 center">展开</td>
			<td class="tdLittle1">ID</td>
			<td>分类名称</td>
			<td class="tdLtitle7">操作</td>
		</tr>
		{foreach key=k item=v from=$category_top}
		<tr>
			<td><a href="javascript:void(0)" class="showPlus"></a></td>
			<td>{$v.cid}</td>
			<td>{$v.title}</td>
			
			<td>
				[<a href="admin.php?c=Category&m=add_cate_small&cid={$v.cid}">添加子分类</a>][
				<a href="admin.php?c=Category&m=eait_list&cid={$v.cid}">修改</a>][
				<a href="admin.php?c=Category&m=delete_list&k={$v.pid}&title={$v.title}" class="del">删除</a>]
			</td>
		</tr>
	

		{foreach key=k2 item=v2 from=$v.Layer}
			<tr>
			<td></td>
			<td>{$v2.cid}</td>
			<td>{$v2.html}{$v2.title}</td>
			<td>
				[<a href="admin.php?c=Category&m=add_cate_small&cid={$v2.cid}">添加子分类</a>][
				<a href="admin.php?c=Category&m=eait_list&cid={$v2.cid}">修改</a>][
				<a href="admin.php?c=Category&m=delete_list&k={$v2.pid}&title={$v2.title}" class="del">删除</a>]
			</td>
			</tr>
		{/foreach}
		{/foreach}

	</table>

</body>
</html>